#include "StdAfx.h"
#include "Station.h"

//Bus
Bus::Bus()
{

}

Bus::~Bus()
{
}

std::string Bus::getLicencePlate() const
{
	return _licencePlate;
}

void Bus::setLicencePlate(const std::string &licencePlate)
{
	_licencePlate = licencePlate;
}

//Station
Station::Station(void)
{
}

Station::~Station(void)
{
}

std::string Station::getGuid() const
{
	return _guid;
}

void Station::setGuid(const std::string &guid)
{
	_guid = guid;
}

BusMgr *Station::busMgr()
{
	return &_busMgr;
}

//Route
Route::Route()
{

}

Route::~Route()
{

}

std::string Route::getGuid() const
{
	return _guid;
}

void Route::setGuid(const std::string &guid)
{
	_guid = guid;
}

Station *Route::getStation(size_t index)
{
	return _stations[index];
}

void Route::setStation(size_t index, Station *sn)
{
	_stations[index] = sn;
}